<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>商品详情</title>
</head>
<body>
<div>
    店铺：<span th:text="${seller.storeName}"/>
    <img th:src="${goods.goodsPicture}" width="300" height="350"/>
    <div th:text="${goods.goodsName}"/>
    <div th:text="${goods.goodsIntroduce}"/>
    ￥<span th:text="${goods.goodsPrice}"/><br>
    销量：<span th:text="${goods.goodsSellNumber}"/><br>
    <a th:href="@{/goodsDetail/addOrder(goodsId=${goods.goodsId})}">
        <button>立即购买</button>
    </a>
    <a th:href="@{/goodsDetail/addCart(goodsId=${goods.goodsId})}">
        <button>加入购物车</button>
    </a>
</div>
</body>
</html>
